package com.ruoyi.ipms_patent.service;

import com.ruoyi.ipms_patent.dto.OfficialInfoDto;
import com.ruoyi.ipms_patent.entity.OfficialInfo;
import java.util.List;

/*官文业务接口*/
public interface OfficialInfoService {

    /*新增官文通知*/
    OfficialInfo addOfficialInfo(OfficialInfo info);

    /*单个查询*/
    OfficialInfo findOneById(Integer id);

    /*查找官文列表*/
    List<OfficialInfo> findOfficialInfoList(Integer caseId);

    /*查找官文列表2*/
    List<OfficialInfoDto> findOfficialInfoList2(Integer caseId);

    /*修改官文*/
    boolean modifyOfficialInfo(OfficialInfo info);

    /*删除官文*/
    boolean removeOfficialInfo(Integer id);
}
